<template>
  <div class="box">
    <div class="boxList">
      <van-tabs v-model="activeName" class="vantBox">
        <van-tab
          title="好货"
          name="a"
          id="vanTab"
          style="color='black'"
        ></van-tab>
        <van-tab title="社区" name="b" id="vanTab"></van-tab>
        <van-tab title="关注" name="c" id="vanTab"></van-tab>
      </van-tabs>
    </div>
    <div class="Search">
      <span class="iconfont icon-xiangji" ></span>
      <span class="iconfont icon-xinxi"></span>
    </div>
  </div>
</template>

<script>
export default {
  name: "FindHeader",
  data() {
    return {
      activeName: "a",
    };
  },
};
</script>


<style scoped>
@import url(../../assets/fonts/iconfont);
.box {
  display: flex;
  position: fixed;
  height: 50px;
  left: 0;
  top: 0;
  right: 0;
  z-index: 3000;
  background-color: white;
}

.box .boxList {
  /* margin-left: 20px; */
  font-size: 16px;
  width: 150px;
}
.box .boxList .headlist {
  margin-left: 20px;
}
.box .Search {
  width: 80px;
  margin-left: 150px;
  display: flex;
  justify-content: space-evenly;
}
.box .Search span {
  height: 44px;
  font-size: 18px;
  line-height: 50px;
  font-weight: bold;
}
.vant {
  background-color: pink;
}
</style>